package com.health.service;

import com.health.pojo.domain.MedicalRecordDO;
import com.health.pojo.dto.MedicalRecordDTO;
import com.health.pojo.query.MedicalRecordQuery;
import java.lang.Boolean;
import java.util.List;

/**
 * MedicalRecordService
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
public interface MedicalRecordService {

    /**
     * add
     *
     * @param medicalRecordDTO 医疗记录入参实体类
     * @return
     */
    Boolean addMedicalRecord(MedicalRecordDTO medicalRecordDTO);

    /**
     * delete
     *
     * @param medicalRecordDTO 医疗记录入参实体类
     * @return
     */
    Boolean deleteMedicalRecord(MedicalRecordDTO medicalRecordDTO);

    /**
     * update
     *
     * @param medicalRecordDTO 医疗记录入参实体类
     * @return
     */
    Boolean updateMedicalRecord(MedicalRecordDTO medicalRecordDTO);

    /**
     * info
     *
     * @param medicalRecordQuery 医疗记录查询入参实体类
     * @return  医疗记录实体类
     */
    List<MedicalRecordDO> queryMedicalRecord();


    /**
     * queryMedicalRecordsByUserId
     *
     * @param medicalRecordQuery 医疗记录查询入参实体类
     * @return  医疗记录实体类
     */
    List<MedicalRecordDO> queryMedicalRecordsByUserId(Integer userId);
}
